﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace winApp2
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var res=new FrmLogin().ShowDialog();
            if ( res== DialogResult.OK)
            {
                Application.Run(new Form1());
            }
            else if (res == DialogResult.Yes)
            {
                Application.Run(new Form5());
            }

        }
    }
}
